tui-input
A TUI input library supporting multiple backends.
This crate can be used with tui-rs and ratatui.
For people using tui-rs
use version v0.6.*
for people migrating to ratatui
use latest version.
Install
Cargo.toml
# crossterm
= "*"
# termion
= { = "*", = ["termion"], = false }
Features
- crossterm (default)
- termion
- serde
Demo
See examples.
# Run the example with crossterm as backend.
# Run the example with termion as backend.
# Run the tui-rs example
( && )